# -*- coding: utf-8 -*-

class Source(object):
    sourceInfo = None
    imgInfo = None

    def __init__(self):
        self.sourceInfo = {'name': None,
                           'domain': None,
                           'startUrl': None,
                           'watermark': None,
                           'addDatetime':None,
                           'lastImgAddDatetime':None,
                           'valid': None,
                           'extremum': None,
                           'type': None}

        self.imgInfo = {'name': None,
                        'author': None,
                        'keywords': None,
                        'introduction': None,
                        'company': None,
                        'publicDatetime': None,
                        'urls': None,
                        'infoUrl': None,
                        'addDatetime': None,
                        'key': None,
                        'source': None }

    def setImgInfo(self):
        pass

    def getImgInfo(self):
        return self.imgInfo

    def setKey(self):
        pass